package com.item.util;

import com.base.support.PropertySupport;

public class ConstantResources {
	public static String PAGEM_OUTPUT = PropertySupport.getProperty("pageM.output");
	//以下是有关邮件发送的常量信息
	public static String MAILFROM = PropertySupport.getProperty("mail.from");
	public static String MAILHOST = PropertySupport.getProperty("mail.smtp");
	public static String MAILSMTPHOST = PropertySupport.getProperty("mail.smtp");
	public static String MAILUSERNAME = PropertySupport.getProperty("mail.username");
	public static String MAILPASSWORD = PropertySupport.getProperty("mail.password");
	public static String MAILUSERNAMEQQ = PropertySupport.getProperty("qqmail.username");
	public static String MAILPASSWORDQQ = PropertySupport.getProperty("qqmail.password");
	public static String MAILUSERNAME126 = PropertySupport.getProperty("126mail.username");
	public static String MAILPASSWORD126 = PropertySupport.getProperty("126mail.password");
	
	//注册有效时间
	public final static long VERIFY_INTEVAL = Long.parseLong(PropertySupport.getProperty("service.interval")) * 1000;
	//是否处于调试
	public final static boolean ISDEBUG = PropertySupport.getProperty("info.debug").equals("1");
	//本季考研结束时间
	public static String OVERDATE = PropertySupport.getProperty("game.overtime");
	//有关下载邮件的常量
	public static String DOWNLOADURL = PropertySupport.getProperty("download.url");
	public static String DOWNLOADEMAILCONTENT = PropertySupport.getProperty("download.email");
	//文件大小单位
	public static final int KBKIZE = 1024;
	public static final int MBKIZE = 1024 * 1024;
	public static final int GBKIZE = 1024 * 1024 * 1024;
	//有关打印的常量
	public static final String PRINTEMAILCONTENT = PropertySupport.getProperty("print.email");
	//WebFile Buckname
	public static final String BUCKET_NAME_WEBFILE = PropertySupport.getProperty("oss.webfile");
	public static final String OSS_BASE_URL = PropertySupport.getProperty("web.url");
	public static final String OSS_BASE_URL_FRAME = PropertySupport.getProperty("web.urlFrame");
	public static final String OSS_OUT_WEB_URL = PropertySupport.getProperty("web.oss");
	public static final String OSS_OUT_FRAME_URL = PropertySupport.getProperty("frame.oss");
	//APP INFO
	public static final String DIARYDEFAULT = PropertySupport.getProperty("diary.default");
	public static final String ABOUTURL = PropertySupport.getProperty("about.url");
	public static final String CONTACTURL = PropertySupport.getProperty("contact.url");
	public static final String SIGNSHAREURL = PropertySupport.getProperty("sign.url");
	public static final String POSTSHAREURL = PropertySupport.getProperty("post.url");
	public static final String PRINTURL = PropertySupport.getProperty("print.url");
	public static final String ESSENCEURL = PropertySupport.getProperty("essence.url");
	public static final String PDFURL = PropertySupport.getProperty("pdf.url");
	public static final String NOTEURL = PropertySupport.getProperty("note.url");
	public static final String ESSENCEAUTHORURL = PropertySupport.getProperty("essenceAuthor.url");
	
	//API PAGE URL
	public static final String SERVERAPIURL = PropertySupport.getProperty("api.host");
	public static final String APIPAGEURL = PropertySupport.getProperty("page.url");
}
